
<%@ page import="com.surelution.cppei.weixin.gate.SubscriberGascard" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'subscriberGascard.label', default: 'SubscriberGascard')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-subscriberGascard" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-subscriberGascard" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list subscriberGascard">
			
				<g:if test="${subscriberGascardInstance?.certificated}">
				<li class="fieldcontain">
					<span id="certificated-label" class="property-label"><g:message code="subscriberGascard.certificated.label" default="Certificated" /></span>
					
						<span class="property-value" aria-labelledby="certificated-label"><g:formatBoolean boolean="${subscriberGascardInstance?.certificated}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${subscriberGascardInstance?.cardType}">
				<li class="fieldcontain">
					<span id="cardType-label" class="property-label"><g:message code="subscriberGascard.cardType.label" default="Card Type" /></span>
					
						<span class="property-value" aria-labelledby="cardType-label"><g:link controller="gasCardType" action="show" id="${subscriberGascardInstance?.cardType?.id}">${subscriberGascardInstance?.cardType?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${subscriberGascardInstance?.userid}">
				<li class="fieldcontain">
					<span id="userid-label" class="property-label"><g:message code="subscriberGascard.userid.label" default="Userid" /></span>
					
						<span class="property-value" aria-labelledby="userid-label"><g:fieldValue bean="${subscriberGascardInstance}" field="userid"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${subscriberGascardInstance?.certificateType}">
				<li class="fieldcontain">
					<span id="certificateType-label" class="property-label"><g:message code="subscriberGascard.certificateType.label" default="Certificate Type" /></span>
					
						<span class="property-value" aria-labelledby="certificateType-label"><g:link controller="certificateType" action="show" id="${subscriberGascardInstance?.certificateType?.id}">${subscriberGascardInstance?.certificateType?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${subscriberGascardInstance?.cardNo}">
				<li class="fieldcontain">
					<span id="cardNo-label" class="property-label"><g:message code="subscriberGascard.cardNo.label" default="Card No" /></span>
					
						<span class="property-value" aria-labelledby="cardNo-label"><g:fieldValue bean="${subscriberGascardInstance}" field="cardNo"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${subscriberGascardInstance?.certificateNo}">
				<li class="fieldcontain">
					<span id="certificateNo-label" class="property-label"><g:message code="subscriberGascard.certificateNo.label" default="Certificate No" /></span>
					
						<span class="property-value" aria-labelledby="certificateNo-label"><g:fieldValue bean="${subscriberGascardInstance}" field="certificateNo"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${subscriberGascardInstance?.subscriber}">
				<li class="fieldcontain">
					<span id="subscriber-label" class="property-label"><g:message code="subscriberGascard.subscriber.label" default="Subscriber" /></span>
					
						<span class="property-value" aria-labelledby="subscriber-label"><g:link controller="subscriber" action="show" id="${subscriberGascardInstance?.subscriber?.id}">${subscriberGascardInstance?.subscriber?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${subscriberGascardInstance?.id}" />
					<g:link class="edit" action="edit" id="${subscriberGascardInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
